package win.ganbo.easyframwork.controller;

import org.springframework.web.bind.annotation.ModelAttribute;

import javax.servlet.http.HttpServletRequest;

public abstract class BaseController {

    public static final String PAGE_INFO = "pageInfo";

    /**
     * 设置页面title信息
     * @param title
     * @param request
     */
    @ModelAttribute
    public abstract void setPageInfo(String title, HttpServletRequest request);

}
